home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / OpenDoc 1.2b2c1 / OpenDoc / Interfaces / IDL / ODSessnB.idl < prev    next >
Encoding:
Text File  |  1997-02-13  |  3.8 KB  |  162 lines  |  [TEXT/MPS ]

  1. //#    Copyright:    © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  2.  
  3. #ifndef _ODSESSNB_
  4. #define _ODSESSNB_
  5.  
  6. #ifndef _ODOBJECT_
  7. #include "ODObject.idl"
  8. #endif
  9.  
  10. //==============================================================================
  11. // Classes defined in this interface
  12. //==============================================================================
  13.  
  14. interface   ODBaseSession;
  15.  
  16. //==============================================================================
  17. // Classes used by this interface
  18. //==============================================================================
  19.  
  20. interface   ODWindowState;
  21. interface   ODDispatcher;
  22. interface   ODArbitrator;
  23. interface   ODStorageSystem;
  24. interface   ODClipboard;
  25. interface   ODDragAndDrop;
  26. interface   ODLinkManager;
  27. interface   ODNameSpaceManager;
  28. interface   ODMessageInterface;
  29. interface   ODNameResolver;
  30. interface   ODTranslation;
  31. interface   ODUndo;
  32. interface   ODSemanticInterface;
  33. interface    ODBinding;
  34. interface    ODInfo;
  35.  
  36.  
  37. //==============================================================================
  38. // ODBaseSession
  39. //==============================================================================
  40.  
  41. interface ODBaseSession :  ODObject
  42. {
  43.   //#---------------------------------
  44.   //# Global Getters/Setters
  45.  
  46.    ODArbitrator GetArbitrator();
  47.    void SetArbitrator(in ODArbitrator arbitrator);
  48.     
  49.    ODBinding GetBinding();
  50.    void SetBinding(in ODBinding binding);
  51.  
  52.    ODDispatcher GetDispatcher();
  53.    void SetDispatcher(in ODDispatcher dispatcher);
  54.  
  55.    ODClipboard GetClipboard();
  56.    void SetClipboard(in ODClipboard clipboard);
  57.  
  58.    ODDragAndDrop GetDragAndDrop();
  59.    void SetDragAndDrop(in ODDragAndDrop dragAndDrop);
  60.    
  61.    ODInfo GetInfo();
  62.    void    SetInfo(in ODInfo info);
  63.  
  64.    ODLinkManager GetLinkManager();
  65.    void SetLinkManager(in ODLinkManager linkManager);
  66.  
  67.    ODMessageInterface GetMessageInterface();
  68.    void SetMessageInterface(in ODMessageInterface messageInterface);
  69.  
  70.    ODNameResolver GetNameResolver();
  71.    void SetNameResolver(in ODNameResolver nameResolver);
  72.  
  73.    ODNameSpaceManager GetNameSpaceManager();
  74.    void SetNameSpaceManager(in ODNameSpaceManager nameSpaceManager);
  75.  
  76.    ODStorageSystem GetStorageSystem();
  77.    void SetStorageSystem(in ODStorageSystem storageSystem);
  78.  
  79.    ODTranslation GetTranslation();
  80.    void SetTranslation(in ODTranslation translation);
  81.  
  82.    ODUndo GetUndo();
  83.    void SetUndo(in ODUndo undo);
  84.    
  85.    ODWindowState GetWindowState();
  86.    void SetWindowState(in ODWindowState windowState);
  87.  
  88.   //#---------------------------------
  89.   //# Semantic Events
  90.  
  91.    ODSemanticInterface AcquireShellSemtInterface();
  92.    void SetShellSemtInterface(in ODSemanticInterface shellSemanticInterface);
  93.  
  94.   //#---------------------------------
  95.   //# Types and Token
  96.  
  97.    ODTypeToken Tokenize(in ODType type);
  98.     
  99.    void RemoveEntry( in ODType type);
  100.     
  101.    ODBoolean GetType(in ODTypeToken token,
  102.                         out ODType type);
  103.     
  104.  
  105. #ifdef __SOMIDL__
  106.   implementation
  107.   {
  108.     majorversion = 1; minorversion = 0;
  109.  
  110.       functionprefix = ODBaseSession;
  111.  
  112.     override:
  113.         somUninit;
  114.     
  115.     releaseorder:
  116.         GetArbitrator,
  117.         GetBinding,
  118.         GetClipboard,
  119.         GetDispatcher,
  120.         GetDragAndDrop,
  121.         GetInfo,
  122.         GetLinkManager,
  123.         GetMessageInterface,
  124.         GetNameResolver,
  125.         GetNameSpaceManager,
  126.         GetStorageSystem,
  127.         GetTranslation,
  128.         GetUndo,
  129.         GetWindowState,
  130.         SetArbitrator,
  131.         SetBinding,
  132.         SetClipboard,
  133.         SetDispatcher,
  134.         SetDragAndDrop,
  135.         SetInfo,
  136.         SetLinkManager,
  137.         SetMessageInterface,
  138.         SetNameResolver,
  139.         SetNameSpaceManager,
  140.         SetStorageSystem,
  141.         SetTranslation,
  142.         SetUndo,
  143.         SetWindowState,
  144.         AcquireShellSemtInterface,
  145.         SetShellSemtInterface,
  146.         Tokenize,
  147.         RemoveEntry,
  148.         GetType,
  149.         reserved1,
  150.         reserved2,
  151.         reserved3,
  152.         reserved4,
  153.         reserved5;
  154.  
  155.   };
  156. #endif
  157. };
  158.  
  159.  
  160. #endif // _BASESESS_
  161.  
  162.